<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    This is my JSP page. <br>
      <a href="/homeschooledu/LessonServlet?format=json&type=get&class_id=1&year=2009&term=1">get All Lessons on term 1 2009 </a>
      <br/>
     <a href = "/homeschooledu/DutyServlet?format=json&type=get&class_id=1&year=2011&term=1&week=5">get duties on week 5</a>
     <br/>
     <a href = "/homeschooledu/ScoreServlet?format=json&type=get&class_id=1&year=2011&term=1&exam_id=2&order=0">get class scores on exam2 </a>
 	 <br/>
 	 <a href = "/homeschooledu/ContactorServlet?format=json&type=get&class_id=1&order=0">get students information</a>
 <br/>
 	 <a href = "/homeschooledu/ContactorServlet?format=json&type=get&class_id=1&order=1">get parents information</a>
  <br/>
 	 <a href = "/homeschooledu/ClassesServlet?format=json&type=get&class_id=1">get Class 1 information</a>
 <br/>
 	 <a href = "/homeschooledu/ClassesServlet?format=json&type=get&class_id=all">get all classes information</a>
  <br/>
 	 <a href = "/homeschooledu/InformServlet?format=json&type=get&student_id=1002&oldInform_id=97">get 1002's informs </a>
   <br/>
 	 <a href = "/homeschooledu/HomeworkServlet?format=json&type=get&student_id=1002&old_homework_id=88">get 1002's new homeworks </a>
 
  <br/>
 	 <a href = "/homeschooledu/LoginServlet?format=json&type=get&username=zhou&password=zhou&isFirstLogin=false">zhoulogin</a>
  
   <br/>
 	 <a href = "/homeschooledu/LoginServlet?format=json&type=get&username=cheng&password=cheng&isFirstLogin=true">zhouloginReturn</a>
 
  
  
  <br/>
 	 <a href = "/homeschooledu/TestServlet?format=json&type=get&name=zhou&password=zhou&isFirstLogin=false">Test</a>
  <br/>
 	 <a href = "/homeschooledu/ExamPlanServlet?format=json&type=get">get examPlans</a>
 
 
  </body>
</html>
